Narrative:
In order to produce PDDL states for actions
As a software component
I want to valiate states action

Scenario: valid types
Given I have a state '$1.adjacent($2)' for an action move in class com.googlecode.ddplan.dwr.domain.Robot
When the state get parsed and validated
Then I have no error validation

Scenario: variable out of signature
Given I have a state '$1.adjacent($3)' for an action move in class com.googlecode.ddplan.dwr.domain.Robot
When the state get parsed and validated
Then I have an error validation 'State $1.adjacent($3) for action move have an variable number exceeding the method signature'

Scenario: unknown state
Given I have a state '$1.near($2)' for an action move in class com.googlecode.ddplan.dwr.domain.Robot
When the state get parsed and validated
Then I have an error validation 'State $1.near($2) for action move must have a valid @PDDLState method with a matching signature'